package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1;

import com.gzhryc.common.api.SecurityResponse;
import com.gzhryc.weixin.gzh.models.JSSDKConfig;

import java.io.Serializable;

public class WxJSSDKResponse extends SecurityResponse<WxJSSDKResponse.Body>{

	private static final long serialVersionUID = 1L;

	public WxJSSDKResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public WxJSSDKResponse(Integer code) {
		super(code);
		this.body = new Body();
	}

	public static class Body implements Serializable{
		
		private static final long serialVersionUID = 1L;
		
		private String url;
		private JSSDKConfig config;

		public JSSDKConfig getConfig() {
			return config;
		}

		public void setConfig(JSSDKConfig config) {
			this.config = config;
		}

		public String getUrl() {
			return url;
		}

		public void setUrl(String url) {
			this.url = url;
		}
		 
	}
}
